package com.infore.operation.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.infore.operation.utils.json.NullArrayJsonSerializer;
import com.infore.operation.utils.json.NullSerializer;

import java.util.List;
/**
 * @author:wk
 * @date:Created in 16:39 2018\4\17 0017
 */
public class FaultDetail {

    private String stationName;

    private String equipBrand;

    private String equipmodel;

    private String equipName;

    private String findPsonName;

    private String toUpTime;

    private String faultType;

    private String faultDiscrib;

    private Integer state;

    private Integer find_id;

    @JsonSerialize(nullsUsing= NullSerializer.class)
    private Integer hq_id;

    @JsonSerialize(nullsUsing= NullSerializer.class)
    private String productCode;

    private boolean isTest;

    @JsonSerialize(nullsUsing= NullSerializer.class)
    private String faultimage;

    @JsonSerialize(nullsUsing= NullArrayJsonSerializer.class)
    private List<Confirm> confirmList;
    @JsonSerialize(nullsUsing= NullArrayJsonSerializer.class)
    private List<Fix> fixList;
    @JsonSerialize(nullsUsing= NullArrayJsonSerializer.class)
    private List<Approve> approveList;

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getEquipBrand() {
        return equipBrand;
    }

    public void setEquipBrand(String equipBrand) {
        this.equipBrand = equipBrand;
    }

    public String getEquipmodel() {
        return equipmodel;
    }

    public void setEquipmodel(String equipmodel) {
        this.equipmodel = equipmodel;
    }

    public String getEquipName() {
        return equipName;
    }

    public void setEquipName(String equipName) {
        this.equipName = equipName;
    }

    public String getFindPsonName() {
        return findPsonName;
    }

    public void setFindPsonName(String findPsonName) {
        this.findPsonName = findPsonName;
    }

    public String getToUpTime() {
        return toUpTime;
    }

    public void setToUpTime(String toUpTime) {
        this.toUpTime = toUpTime;
    }

    public String getFaultType() {
        return faultType;
    }

    public void setFaultType(String faultType) {
        this.faultType = faultType;
    }

    public String getFaultDiscrib() {
        return faultDiscrib;
    }

    public void setFaultDiscrib(String faultDiscrib) {
        this.faultDiscrib = faultDiscrib;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getFind_id() {
        return find_id;
    }

    public void setFind_id(Integer find_id) {
        this.find_id = find_id;
    }

    public Integer getHq_id() {
        return hq_id;
    }

    public void setHq_id(Integer hq_id) {
        this.hq_id = hq_id;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public boolean isTest() {
        return isTest;
    }

    public void setTest(boolean test) {
        isTest = test;
    }

    public String getFaultimage() {
        return faultimage;
    }

    public void setFaultimage(String faultimage) {
        this.faultimage = faultimage;
    }

    public List<Confirm> getConfirmList() {
        return confirmList;
    }

    public void setConfirmList(List<Confirm> confirmList) {
        this.confirmList = confirmList;
    }

    public List<Fix> getFixList() {
        return fixList;
    }

    public void setFixList(List<Fix> fixList) {
        this.fixList = fixList;
    }

    public List<Approve> getApproveList() {
        return approveList;
    }

    public void setApproveList(List<Approve> approveList) {
        this.approveList = approveList;
    }
}
